package com.xyq.friend.domain.question;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.xyq.api.domain.QuestionExeResult;
import lombok.Data;

import java.util.List;

@Data
public class QuestionResultVO {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long submitId ;

    private Integer pass ;  // 是否通过

    private String exeMessage ; // 错误信息

    // 代码的执行结果 (测试用例有多种)
    private List<QuestionExeResult> questionExeResultList ;

    @JsonIgnore
    private Integer score ;// 成绩

}
